<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">


<!-- Mirrored from www.zi-han.net/theme/hplus/form_builder.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:19 GMT -->
<head>

<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />


<title>厚合尚品商城管理后台</title>

<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" href="mng/css/bootstrap.min.css"
	th:href="@{/mng/css/bootstrap.min.css}" />
<link rel="stylesheet"
	href="mng/css/plugins/bootstrap-fileinput/fileinput.css"
	th:href="@{/mng/css/plugins/bootstrap-fileinput/fileinput.css}" />
<link rel="stylesheet" href="mng/css/font-awesome.min93e3.css?v=4.4.0"
	th:href="@{/mng/css/font-awesome.min93e3.css?v=4.4.0}" />
<link rel="stylesheet" href="mng/css/animate.min.css"
	th:href="@{/mng/css/animate.min.css}" />

<link rel="stylesheet" href="mng/css/plugins/simditor/simditor.css"
	th:href="@{/mng/css/plugins/simditor/simditor.css}" />
<link rel="stylesheet" href="mng/css/style.min862f.css?v=4.1.0"
	th:href="@{/mng/css/style.min862f.css?v=4.1.0}" />


<style>
.droppable-active {
	background-color: #ffe !important
}

.tools a {
	cursor: pointer;
	font-size: 80%
}

.form-body .col-md-6, .form-body .col-md-12 {
	min-height: 400px
}

.draggable {
	cursor: move
}
</style>

</head>

<body class="gray-bg">
	<div class="wrapper wrapper-content">

		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-title">
						<h5>订单详情</h5>

					</div>
					<div class="ibox-content">
						<form role="form" class="form-horizontal m-t" id="form1"
							th:action="@{/order/fahuo}" method="post">
							<div class="form-group draggable">
								<label class="col-sm-3 control-label">订单编号：</label>
								<div class="col-sm-9">
									<p class="form-control-static" th:text="${orderInfo.orderId}"></p>
								</div>
							</div>
							<div class="form-group draggable">
								<label class="col-sm-3 control-label">会员编号：</label>
								<div class="col-sm-9">
									<p class="form-control-static" th:text="${orderInfo.memberId}"></p>
								</div>
							</div>
							<div class="form-group draggable">
								<label class="col-sm-3 control-label">交易时间：</label>
								<div class="col-sm-9">
									<p class="form-control-static"
										th:text="${#calendars.format(orderInfo.orderTs,'yyyy-MM-dd HH:mm:ss')}"></p>
								</div>
							</div>
							<div class="form-group draggable">
								<label class="col-sm-3 control-label">商品列表：</label>
								<div class="col-sm-9">
									<div class="ibox float-e-margins">
										<div class="ibox-content">
											<table class="table">
												<thead>
													<tr>
														<th>#</th>
														<th>商品编号</th>
														<th>商品名称</th>
														<th>数量</th>
														<th>交易金额</th>
														<th>抵扣积分</th>
													</tr>
												</thead>
												<tbody>
													<tr th:if="${orderInfo.itemList!=null}" th:each="itemInfo,item : ${orderInfo.itemList}">
														<td th:text="${item.count}"></td>
														<td th:text="${itemInfo.productId}"></td>
														<td th:text="${itemInfo.proName}">男</td>
														<td th:text="${itemInfo.count}">23</td>
														<td th:text="${itemInfo.transAmt}">男</td>
														<td th:text="${itemInfo.transBonus}">23</td>
													</tr>
												</tbody>
											</table>
										</div>
									</div>
								</div>
							</div>
							<div class="form-group draggable">
								<label class="col-sm-3 control-label">交易总金额：</label>
								<div class="col-sm-9">
									<p class="form-control-static"
										th:text="|${orderInfo.transBonus} 积分 + ${orderInfo.transAmt}|"></p>
								</div>
							</div>
							<div class="form-group draggable">
								<label class="col-sm-3 control-label">发货地址：</label>
								<div class="col-sm-9">
									<p class="form-control-static" th:text="|${mbAddrInfo.name}  , ${mbAddrInfo.phoneNo} , ${mbAddrInfo.fullAddress}   |"></p>
								</div>
							</div>
							
							<div class="form-group draggable">
								<label class="col-sm-3 control-label">备注：</label>
								<div class="col-sm-9">
									<p class="form-control-static" th:text="${orderInfo.remark}"></p>
								</div>
							</div>
							

							<div class="form-group draggable">
								<label class="col-sm-3 control-label">订单状态：</label>
								<div class="col-sm-9">
									<p class="form-control-static"
										th:if="${orderInfo.orderStatus == 0}">未支付</p>
									<p class="form-control-static"
										th:if="${orderInfo.orderStatus == 2}">已支付</p>
										<p class="form-control-static"
										th:if="${orderInfo.orderStatus == 3}">正在退款</p>
										<p class="form-control-static"
										th:if="${orderInfo.orderStatus == 4}">退款完成</p>
								</div>
							</div>
							<div class="form-group draggable">
								<label class="col-sm-3 control-label">物流状态：</label>
								<div class="col-sm-9">
									<p class="form-control-static"
										th:if="${orderInfo.transferStatus == 0}">未发货</p>
									<p class="form-control-static"
										th:if="${orderInfo.transferStatus == 2}">已发货</p>
										<p class="form-control-static"
										th:if="${orderInfo.transferStatus == 3}">退货中</p>
										<p class="form-control-static"
										th:if="${orderInfo.transferStatus == 4}">退货完成</p>
								</div>
							</div>
							<div class="form-group draggable" th:if="${orderInfo.transferNo!=null}">
								<label class="col-sm-3 control-label">物流单号：</label>
								<div class="col-sm-9">
									<p class="form-control-static" th:text="${orderInfo.transferNo}"></p>
								</div>
							</div>
						</form>
						<div class="clearfix"></div>
					</div>

				</div>
			</div>

		</div>
	</div>

	<script src="mng/js/jquery.min.js" th:src="@{/mng/js/jquery.min.js}"></script>
	<script src="mng/js/bootstrap.min.js"
		th:src="@{/mng/js/bootstrap.min.js}"></script>
	<script src="mng/js/plugins/bootstrap-fileinput/fileinput.js"
		th:src="@{/mng/js/plugins/bootstrap-fileinput/fileinput.js}"></script>
	<script src="mng/js/plugins/metisMenu/jquery.metisMenu.js"
		th:src="@{/mng/js/plugins/metisMenu/jquery.metisMenu.js}"></script>
	<script src="mng/js/plugins/slimscroll/jquery.slimscroll.min.js"
		th:src="@{/mng/js/plugins/slimscroll/jquery.slimscroll.min.js}"></script>
	<script src="mng/js/plugins/layer/layer.min.js"
		th:src="@{/mng/js/plugins/layer/layer.min.js}"></script>
	<script src="mng/js/hplus.min.js?v=4.1.0"
		th:src="@{/mng/js/hplus.min.js?v=4.1.0}"></script>
	<script src="mng/js/plugins/simditor/module.js"
		th:src="@{/mng/js/plugins/simditor/module.js}"></script>
	<script src="mng/js/plugins/simditor/uploader.js"
		th:src="@{/mng/js/plugins/simditor/uploader.js}"></script>
	<script src="mng/js/plugins/simditor/hotkeys.js"
		th:src="@{/mng/js/plugins/simditor/hotkeys.js}"></script>
	<script src="mng/js/plugins/simditor/simditor.js"
		th:src="@{/mng/js/plugins/simditor/simditor.js}"></script>

	<script src="mng/js/plugins/bootstrap-fileinput/zh.js"
		th:src="@{/mng/js/plugins/bootstrap-fileinput/zh.js}"></script>


	<script>
		$("#file-0").fileinput({
			language : 'zh',
			allowedFileExtensions : [ 'jpg', 'png', 'bmp', 'jpeg' ],
			overwriteInitial : false,
			showUpload : false,
			dropZoneEnabled : false,
			uploadAsync : false

		});

		$("#file-1").fileinput({
			language : 'zh',
			uploadUrl : '/product/saveproimg',
			allowedFileExtensions : [ 'jpg', 'png', 'bmp', 'jpeg' ],
			overwriteInitial : false,
			showUpload : true,
			dropZoneEnabled : false,
			maxFileSize : 1000,
			maxFilesNum : 3

		});

		$(function() {
			//可以参考 http://www.jcodecraeer.com/a/javascript/2015/0201/2393.html
			editor = new Simditor({
				textarea : $('#editor'),
				placeholder : '这里输入商品详情...',
				toolbar : [ 'title', 'bold', 'italic', 'underline',
						'strikethrough', 'color', '|', 'ol', 'ul',
						'blockquote', 'code', 'table', '|', 'link', 'hr', '|',
						'indent', 'outdent' ],

			});
		});
	</script>
</body>


<!-- Mirrored from www.zi-han.net/theme/hplus/form_builder.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:20 GMT -->
</html>
